package com.ryan.mms.privilage.dto;

import java.util.Date;

import com.ryan.framework.dto.Dto;

public class FunctionDto implements Dto{
	private Long functionId;
	private String functionCode;
	private String functionName;
	private Integer functionType;
	private Long applicationId;
	private String functionDescription;
	private String defaultUrl;
	private Integer status;
	private Date createTime;
	private Date lastModifyTime;

	// Constructors

	/** default constructor */
	public FunctionDto() {
	}

	/** minimal constructor */
	public FunctionDto(String functionCode, String functionName, Integer status) {
		this.functionCode = functionCode;
		this.functionName = functionName;
		this.status = status;
	}

	/** full constructor */
	public FunctionDto(String functionCode, String functionName,
			Integer functionType, String functionDescription,
			String defaultUrl, Integer status, Date createTime,
			Date lastModifyTime) {
		this.functionCode = functionCode;
		this.functionName = functionName;
		this.functionType = functionType;
		this.functionDescription = functionDescription;
		this.defaultUrl = defaultUrl;
		this.status = status;
		this.createTime = createTime;
		this.lastModifyTime = lastModifyTime;
	}

	// Property accessors
	public Long getFunctionId() {
		return this.functionId;
	}

	public void setFunctionId(Long functionId) {
		this.functionId = functionId;
	}

	public String getFunctionCode() {
		return this.functionCode;
	}

	public void setFunctionCode(String functionCode) {
		this.functionCode = functionCode;
	}

	public String getFunctionName() {
		return this.functionName;
	}

	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	public Integer getFunctionType() {
		return this.functionType;
	}

	public void setFunctionType(Integer functionType) {
		this.functionType = functionType;
	}

	public Long getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(Long applicationId) {
		this.applicationId = applicationId;
	}

	public String getFunctionDescription() {
		return this.functionDescription;
	}

	public void setFunctionDescription(String functionDescription) {
		this.functionDescription = functionDescription;
	}

	public String getDefaultUrl() {
		return this.defaultUrl;
	}

	public void setDefaultUrl(String defaultUrl) {
		this.defaultUrl = defaultUrl;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return this.lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

}